package com.learn.mail.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

import java.util.Map;

/**
 * Mail配置(如果需要配置别的配置可参照这个形式自己添加)
 *
 * @author: MI
 * @email: 448341911@qq.com
 * @createTime: 2023/12/16 19:03
 * @updateUser: cong zhi
 * @updateTime: 2023/12/16 19:03
 * @updateRemark: 修改内容
 * @version: v1.0
 */
@Data
@ConfigurationProperties(prefix = MailProperties.PREFIX)
public class MailProperties {
    public static final String PREFIX = "spring.mail";

    private String host;

    private String username;

    private String password;

    private String from;


}
